# coding=utf-8

from Crypto.Hash import MD5

def md5(str):
    md5 = MD5.new(bytes(str,"utf-8"))
    return md5.hexdigest()